home *** CD-ROM | disk | FTP | other *** search
/ WH Questions 1 / WebberInteractiveWHQ&ALevel1.iso / Xtras / PrintOMatic Lite MX (Win32) / -PrintOMatic Lite MX Demo.dir / 00012_Script_movie script < prev    next >
Text File  |  2004-04-06  |  589b  |  19 lines

  1. on startMovie
  2.   if isXtraInstalled("printomatic_lite") = false then 
  3.     alert "The PrintOMatic Lite Xtra is not installed; printing is disabled."&return&return&"Please consult the Read Me file in the PrintOMatic Lite folder for information on how to install PrintOMatic Lite."
  4.   end if
  5. end
  6.  
  7. on isXtraInstalled xtraName
  8.   if not stringP(xtraName) then
  9.     alert "isXtraInstalled() requires an Xtra name to work."
  10.     return false
  11.   end if
  12.   repeat with i = 1 to the number of xtras
  13.     if the name of xtra i = xtraName then return true
  14.   end repeat
  15.   return false
  16. end 
  17.  
  18.  
  19.